import { createRouter, createWebHistory } from "vue-router";
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: "/",
      name: "home",
      component: () => import("@/view/content.vue"), // 懒加载
    },
    {
      path: "/user",
      name: "user",
      component: () => import("@/components/ResponsiveComponent.vue"), // 懒加载
    },
  ],
});

export default router;
